<template>
  <q-layout view="hHh Lpr fFf"> <!-- Be sure to play with the Layout demo on docs -->

    <!-- (Optional) The Header -->
    <q-header class="shadow-7">
      <q-toolbar style="height: 50px">
        <q-img
          src="~assets/icons/一方映画logo200708竖版亮色-hd.png"
          spinner-color="white"
          class="logo-img"
          contain
          @click="handleHome"
          :style="$q.platform.is.desktop?'width:220px':'width:180px'"
        >
        </q-img>
        <span class="text-bold text-subtitle1">报价单</span>
        <q-space></q-space>

        <q-btn flat round  @click="handleHome" icon="home"></q-btn>
      </q-toolbar>
    </q-header>


    <q-page-container>
      <!-- This is where pages get injected -->
      <router-view  />
    </q-page-container>

  </q-layout>
</template>

<script>

export default {
  name: 'sharePageLayout',

  data () {
    return {
      leftDrawer: true,
      user:{}
    }
  },
  mounted(){

  },
  methods:{
    handleHome(){
      window.open('https://www.yfyh.cc','_blank')
    }
  }
}
</script>
